package com.lsnu.wzy.service;

import java.util.List;
import java.util.Map;

import com.lsnu.wzy.po.Appointment;
import com.lsnu.wzy.po.Doctor;
import com.lsnu.wzy.po.EchartsData;
import com.lsnu.wzy.po.Patient;

public interface AppointmentService {
	public List<Appointment> LSAppointment();
	public List<String> LSDeName();//查询科室的名称列表
	public List<String> LSDoctor();//查询全部医生名字
	public List<String> LSPatient();//查询全部病人名字
	public List<EchartsData> LSDepartment();//查询预约的科室
	public String findDoctor(String dID);//根据医生dID查询医生名字
	public String findDepartment(String dID);//查询医生的部门
	public Appointment findAppointment(String aID);
	public List<Appointment> findPatientAppointment(String pName);//根据姓名查找
	public void addAppointment(Appointment appointment);
	public void delAppointment(Integer id);
	public void editAppointment(Appointment appointment);
	public int updateState(String aID);//改变患者预约状态
	public List<EchartsData> statistics();
	public Appointment findLast();//查找最后一个预约数据
	
}
